package com.yh.service;

import com.yh.pojo.Product;

import java.util.List;

/**
 * @author by 张晨光
 * @date 2024/1/24 10:12
 */
public interface ProductService {
    List<Product> findAll();
    void save(Product product);
    Product findById(Integer id);
    Product update(Product product);
    void delete(Integer id);
}
